package com.ruoyi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 *
 * @TableName postbar
 */
@TableName(value ="postbar")
@Data
public class Postbar implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private String title;

    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createtime;

    /**
     *
     */
    private String image;

    /**
     *
     */
    private String content;

    /**
     *
     */
    private String school;

    /**
     * 收藏
     */
    private String collect;



    private Integer userid;


    @TableField(exist = false)
    private String[] imageList;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
